import request from '@/utils/request'

// ******轮播图列表******
// 轮播图管理查询
export function bannerListGetAll(data) {
  return request({
    url: '/banner/getAll',
    method: 'post',
    data
  })
}

// 新增轮播图
export function bannerSave(data) {
  return request({
    url: '/banner/save',
    method: 'post',
    data
  })
}

// 商家编辑查询
export function bannerGetById(data) {
  return request({
    url: '/banner/getById',
    method: 'post',
    data
  })
}

// 删除
export function bannerDelete(data) {
  return request({
    url: '/banner/delete',
    method: 'post',
    data
  })
}
